import 'package:flustars/flustars.dart';
import 'package:get/get.dart';
import 'package:my_app/model/User.dart';
import 'package:my_app/routes/AppRoutes.dart';

class GlobalService extends GetxService {
  var count = 0.obs;
  final user = User().obs;
  init() async {
    await SpUtil.getInstance();
  }

  setUser(User user) {
    this.user.value = user;
  }
}
